@echo off
echo ========================================
echo   Qiankun Micro-Frontend Project
echo ========================================
echo.

echo Step 1: Installing root dependencies...
call npm install

echo.
echo Step 2: Installing main app dependencies...
cd main-app
call npm install
cd ..

echo.
echo Step 3: Installing React app dependencies...
cd react-app
call npm install
cd ..

echo.
echo Step 4: Installing Vue app dependencies...
cd vue-app
call npm install
cd ..

echo.
echo Step 5: Starting all applications...
echo Main App: http://localhost:8080
echo React App: http://localhost:3000
echo Vue App: http://localhost:3001
echo.
call npm run dev

echo.
echo Press any key to exit...
pause >nul 